package com.tqw.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @description: some desc
 * @author: Administrator
 * @date: 2022/4/11 10:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("area")
public class Area implements Serializable {
    /**
     * 地址id
     */
    @TableId
    private Integer id;
    /**
     * 上级地址id
     */
    private Integer parentId;
    /**
     * 地区名字
     */
    private String name;
    /**
     * 地区级别
     */
    private Integer type;
}
